<@override name="title">编辑角色</@override> <@override name="content">
<div>
    <ul class="breadcrumb">
        <li><a href="#" id="navTitle">系统设置</a></li>
        <li><a href="./list">角色管理</a></li>
        <li><a href="#">${action!}</a></li>
    </ul>
    <form class="form-horizontal" role="form" method="post" action="./edit">
        <input type="hidden" name="id" value="${(target.id)!}">
        <div class="form-group">
            <label for="name" class="col-sm-2 control-label">名称</label>
            <div class="col-sm-10">
                <input type="text" maxlength="32" class="form-control" name="name" placeholder="请输入名称"
                    value="${(target.name)!}">
            </div>
        </div>
        <div class="form-group">
            <label for="master" class="col-sm-2 control-label">超级管理员</label>
            <div class="col-sm-10">
                <label class="radio-inline"> <input type="radio" name="master" value="1" ${((target.master)?string('checked',''))!''}><span>是</span>
                </label> <label class="radio-inline"> <input type="radio" name="master" value="0"  ${((target.master)?string('','checked'))!'checked'}><span>否</span>
                </label>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-6">
                <button type="submit" class="btn btn-success">保存</button>
            </div>
        </div>
    </form>
</div>
</@override> <@extends name="../base.html" />
